/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package nominalitzacions.stubs;

import nominalitzacions.ui.Help;
import java.io.IOException;
import java.net.URL;

/**
 *
 * @author daniel.camacho.rodriguez
 */
public class ControladorHelpStub {

    private Help vistaHelp = null;

    public ControladorHelpStub(){
        if(vistaHelp == null) vistaHelp = new HelpStub(this);
    }

    public void open(String url) throws IOException{
        vistaHelp.setUrlPage(url);
    }

    public void open(URL url) throws IOException{
        vistaHelp.setUrlPage(url);
    }

    public void NoShowWindow(){
        vistaHelp.off();
        vistaHelp.makeInvisible();

    }

}
